Get
Function
This API contains control over the state of the privacy schema.
Request Message
Parameter Description
Table 1
Parameter | Range | Type | Description |
---|---|---|---|
channel | "CH1"…"CHx", "IP_CH1"…" IP_CHx", "WIFI_CH1"…",WIFI_CHx", The number of channels depends on the capabilities of the device. | string | The channel name. |
Sample:
POST /API/PreviewChannel/ControlBtn/Get HTTP/1.1
{
"version":"1.0",
"data":
{
"channel":"CH1"
}
}
Response Message
Parameter Description
Table 2
Parameter | Range | Type | Description |
---|---|---|---|
channel | "CH1"…"CHx", "IP_CH1"…" IP_CHx", "WIFI_CH1"…",WIFI_CHx", The number of channels depends on the capabilities of the device. | string | The channel name. |
privacy_protection | bool | Privacy mode switch | |
operation_type | String |
Sample:
HTTP/1.1 200 OK
Content-Type: application/json
{
"result": "success",
"data": {
"channel": "CH1",
"privacy_protection": false,
"operation_type": ""
}
}
Error Code
See Response Messages Body and Common error_code for more information.